home *** CD-ROM | disk | FTP | other *** search
- --on exitFrame
- -- global gLastSprite
- -- put [0, 110,120,130,140,150, 800,810,820,830,840, 1040,1050,1060,1070,1080, 1200,1210,1220,1230,1240, 2100,2110,2120,2130,2140, 2600,2610,2620,2630,2640, 90000] into MovieTimes
- -- VerifyFrame(MovieTimes)
- --
- -- if rollover(23) then --check for restart
- -- puppetsprite 23,true
- -- set the castnum of sprite 23 to 65
- -- else
- -- if not(the mouseDown) then puppetsprite 23, false
- -- end if
- --
- -- repeat with i = 11 to 16 -- button channels
- -- if rollover(i) then
- -- put i into RollSprite
- -- if RollSprite = gLastSprite then
- -- exit repeat
- -- else
- -- puppetsprite i,true
- -- put the castnum of sprite(i) into lastcast
- -- set the castnum of sprite(i) to lastcast + 1
- -- updateStage
- -- exit repeat
- -- end if
- -- end if
- -- end repeat
- --
- -- if gLastSprite<>RollSprite then
- -- puppetsprite gLastSprite, false
- -- updateStage
- -- put RollSprite into gLastSprite
- -- end if
- --
- -- go to the frame
- --end
- --
- --on KeyDown
- -- HandleKeys
- --end
-